using System;
namespace BCGC.BLL.BusinessObject.Resource
{
    public abstract class ResourceBase
    {
        protected String title;
        public String Title
        {
            get { return title; }
            set { title = value; }
        }

        protected Game relatedGame;
        public Game RelatedGame
        {
            get { return relatedGame; }
            set { relatedGame = value; }
        }

        protected DateTime createDateTime;
        public DateTime CreateDateTime
        {
            get { return createDateTime; }
            protected set { createDateTime = value; }
        }

        protected String description;
        public String Description
        {
            get { return description; }
            set { description = value; }
        }

        protected bool isActive;
        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }

        protected int totalView;
        public int TotalView
        {
            get { return totalView; }
            protected set { totalView = value; }
        }

        protected int rating;
        public int Rating
        {
            get { return rating; }
            protected set { rating = value; }
        }

        protected int totalRatingVote;
        public int TotalRatingVote
        {
            get { return totalRatingVote; }
            protected set { totalRatingVote = value; }
        }
    }
}
